#include<iostream>
#include<cstring>
#include<cstdlib>
using namespace std;
const  char *s_p="@LZOIer!";
string s;
string s2;
void chuli()
{
	bool t = true;
	while (t==true)
	{
		cin >> s;
		if (strcmp(s.c_str(),"Y")==0)	
		{
			cin >> s2;
			if (strcmp(s2.c_str(),s_p)==0)
			{
				cout << "Success" ;
				return ;
			}
			else {
				cout << "Sorry" << endl;
			}
		}
		else if (strcmp(s.c_str(),"N")==0)
		{
			return;
		}	
	}	
}
int main()
{
	chuli();
	return 0;
}
